package com.lxj;

import java.io.*;

// 客户端调用
public class Client {
    public static void main(String[] args) {

        String path = "D:/qr.tif";
        String encoderContent = "https://www.lixuejie.com";

        try {
            QrCodeHandler handler = new QrCodeHandlerImpl();
            handler.encoderQRCodeWithoutBackground(encoderContent, path);
            System.out.println("========encoder success");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
